//
//  RootViewController.h
//  Palabris
//
//  Created by 822588 on 28.11.12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "Config.h"
#import "SingletonClass.h"

#import "RegisterViewController.h"
#import "MainscreenViewController.h"

#import "ASIFormDataRequest.h"
#import "TouchXML.h"


@interface RootViewController : UIViewController <ASIHTTPRequestDelegate> {
    
    SingletonClass* sharedSingleton;     
    
    IBOutlet UITextField *mTextFieldUsername;
    
    IBOutlet UIActivityIndicatorView *mActivityIndicatorView;
    
    ASIFormDataRequest *mRequest;
    CXMLDocument *mXMLDocOfEntitys;
}


-(IBAction)goRegister:(id)sender;
-(IBAction)goMainscreen:(id)sender;

-(IBAction)textFieldDidBeginEditing:(UITextField *)textField;
-(IBAction)textFieldDidEndEditing:(UITextField *)textField;


@end
